package vn.student.notificationforandroid;

import android.app.Activity;
import android.graphics.Typeface;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ToggleButton;

public class CreateCanhanActivity extends Activity {
    Button mBTDate, mBTTime, mBTSave, mBTCancel;
    Typeface typeface;
    ToggleButton mOnOff;
    EditText mEditTitle, mEditContent;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
	super.onCreate(savedInstanceState);
	setContentView(R.layout.canhancreate_page);
	mBTDate = (Button) findViewById(R.id.create_btDate);
	mBTTime = (Button) findViewById(R.id.create_btTime);
	mOnOff = (ToggleButton) findViewById(R.id.create_OnOff);
	mEditTitle = (EditText) findViewById(R.id.create_title);
	mEditContent = (EditText) findViewById(R.id.create_content);
	mBTCancel = (Button) findViewById(R.id.create_cancel);
	mBTSave = (Button) findViewById(R.id.create_save);

	typeface = Typeface.createFromAsset(getAssets(), "quartz.ttf");
	mBTDate.setTypeface(typeface);
	mBTTime.setTypeface(typeface);
	mOnOff.setTypeface(typeface);
	Bundle bundle = getIntent().getExtras();
	if (bundle != null) {

	}
	mBTDate.setText("15 - 7 AM");
	mBTTime.setText("22 - 07 - 2012");
    }

    public void create_menubar(View v) {
	switch (v.getId()) {
	case R.id.create_save:
	    break;
	case R.id.create_cancel:
	    break;
	}
    }

    public void create_media(View v) {
	switch (v.getId()) {
	case R.id.create_btDate:
	    break;
	case R.id.create_btTime:
	    break;
	}
    }

    public void create_date(View v) {
	switch (v.getId()) {
	case R.id.create_btDate:
	    break;
	case R.id.create_btTime:
	    break;
	case R.id.create_OnOff:
	    break;
	}
    }
}
